package model

type User struct {
	ID       uint   `json:"id" gorm:"primaryKey"`
	UserName string `json:"username"`
	Password string `json:"password"`
	Address  string `json:"address"`
	Mobile   string `json:"mobile"`
}

// TableName 设置User的表名为`profiles`
func (User) TableName() string {
	return "user"
}
